Telegram Group & Telegram Channel
10. Program to Convert Celsius to Fahrenheit.

import java.util.*;

class CelsiustoFahrenheit
{
public static void main(String[] args)
{
double temperature;
Scanner in = new Scanner(System.in);

System.out.println("Enter temperature in Celsius");
temperature = in.nextInt();

temperature = (temperature * 9 / 5.0) + 32;
System.out.println("Temperature in Fahrenheit = " + temperature);
}
}

@java_codings



tg-me.com/java_codings/14
Create:
Last Update:

10. Program to Convert Celsius to Fahrenheit.

import java.util.*;

class CelsiustoFahrenheit
{
public static void main(String[] args)
{
double temperature;
Scanner in = new Scanner(System.in);

System.out.println("Enter temperature in Celsius");
temperature = in.nextInt();

temperature = (temperature * 9 / 5.0) + 32;
System.out.println("Temperature in Fahrenheit = " + temperature);
}
}

@java_codings

BY Advance Java πŸ‘¨β€πŸ’»


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/java_codings/14

View MORE
Open in Telegram


Advance Java ‍ Telegram | DID YOU KNOW?

Date: |

Traders also expressed uncertainty about the situation with China Evergrande, as the indebted property company has not provided clarification about a key interest payment.In economic news, the Commerce Department reported an unexpected increase in U.S. new home sales in August.Crude oil prices climbed Friday and front-month WTI oil futures contracts saw gains for a fifth straight week amid tighter supplies. West Texas Intermediate Crude oil futures for November rose $0.68 or 0.9 percent at 73.98 a barrel. WTI Crude futures gained 2.8 percent for the week.

Advance Java ‍ from fr


Telegram Advance Java πŸ‘¨β€πŸ’»
FROM USA